package com.mall.order;

import com.mall.order.dto.OrderDetailRequest;
import com.mall.order.dto.OrderDetailResponse;
import com.mall.order.dto.OrderListRequest;
import com.mall.order.dto.OrderListResponse;

/**
 *
 */
public interface OrderQueryService {

    /**
     * 获取所有订单列表
     *
     * @param request 请求
     * @return 响应
     */
    OrderListResponse orderList(OrderListRequest request);

    /**
     * 获取订单详情
     *
     * @param request 请求
     * @return 响应
     */
    OrderDetailResponse orderDetail(OrderDetailRequest request);
}
